home *** CD-ROM | disk | FTP | other *** search
Oberon Text | 1993-10-25 | 2.5 KB | 53 lines | [.Ob./.Ob5] |
- Syntax10.Scn.Fnt
- Syntax10b.Scn.Fnt
- Syntax10i.Scn.Fnt
- ParcElems
- Alloc
- MODULE MacIAC; (*od 25.10.93*)
- (* This Module contains some essential constants, data types and routines from
- the NEW Inside Macintosh volume
- Interapplication Communication
- Edit.Open DK.MacOberonApp.Text for more information on how to create
- standalone Macintosh applications using MacOberon. *)
- IMPORT
- SYSTEM,ME:=MacMemory,TB:=MacToolbox;
- CONST
- (* Apple Event Manager , only core routines for standard events*)
- kCoreEventClass* = 61657674H; (* aevt *)
- kAEOpenApplication* = 6F617070H; (* oapp *)
- kAEOpenDocuments* = 6F646F63H; (* odoc *)
- kAEPrintDocuments* = 70646F63H; (* pdoc *)
- kAEQuitApplication* = 71756974H; (* quit *)
- typeAEList* = 6C697374H; (* list *)
- typeWildCard* = 2A2A2A2AH; (* **** *)
- typeFSS* = 66737320H; (* fss *)
- keyMissedKeywordAttr* = 6D697373H; (* miss *)
- keyDirectObject* = 2D2D2D2DH; (* ---- *)
- errAEParamMissed* = -1715;
- (* Apple Event Manager , only core routines for standard events*)
- AEKeyword* = LONGINT;
- DescType* = LONGINT;
- AEDesc*= RECORD
- descriptorType*: DescType;
- dataHandle*: ME.Handle
- END;
- AEDescList*= AEDesc;
- AppleEvent*= AEDescList;
- (* Apple Event Manager , only core routines for standard events*)
- PROCEDURE- AEInstallEventHandler*(theAEEventClass: LONGINT;theAEEventID: LONGINT;
- handler: PROCEDURE(theAppleEvent,reply : AppleEvent;handelRefcon: LONGINT) :INTEGER;
- handlerRefcon: LONGINT;isSysHandler: BOOLEAN): INTEGER 030H,03CH,009H,01FH,0A8H,016H;
- PROCEDURE- AEGetAttributePtr*(theAppleEvent: AppleEvent;
- theAEKeyword: AEKeyword;desiredType: DescType;VAR typeCode: DescType;dataPtr: LONGINT;maximumSize: LONGINT;
- VAR actualSize: LONGINT): INTEGER 030H,03CH,00EH,015H,0A8H,016H;
- PROCEDURE- AEProcessAppleEvent*(theEventRecord: TB.EventRecord): INTEGER 030H,03CH,002H,01BH,0A8H,016H;
- PROCEDURE- AEGetParamDesc*(theAppleEvent: AppleEvent;theAEKeyword: AEKeyword;desiredType: DescType;
- VAR result: AEDesc): INTEGER 030H,03CH,008H,012H,0A8H,016H;
- PROCEDURE- AECountItems*(theAEDescList: AEDescList;
- VAR theCount: LONGINT): INTEGER 030H,03CH,004H,007H,0A8H,016H;
- PROCEDURE- AEGetNthPtr*(theAEDescList: AEDescList;index: LONGINT; desiredType: DescType;
- VAR theAEKeyword: AEKeyword;VAR typeCode: DescType;dataPtr: LONGINT;
- maximumSize: LONGINT;VAR actualSize: LONGINT): INTEGER 030H,03CH,010H,00AH,0A8H,016H;
- PROCEDURE- AEDisposeDesc*(VAR theAEDesc: AEDesc): INTEGER 030H,03CH,002H,004H,0A8H,016H;
- END MacIAC.
-